package com.xuanwu.mall.util.common;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * xuanwu-mall
 * com.xuanwu.mall.util.common
 *
 * @Description: 通用返回code枚举
 * @Author：xuanwudeshuijngye_26567
 * @Date 2024-03-14 16:28
 * @Company: 旋舞科技有限公司
 **/
@AllArgsConstructor
@NoArgsConstructor
@Getter
public enum ResponseCode {

    SUCCESS("20000","成功"),
    FAIL("50000","失败"),
    SYSTEM_ERROR("50001","系统错误");

    /**
     * 错误码
     */
    private String code;
    /**
     * 描述信息
     */
    private String msg;
}
